<li class="filter filter-meta lazy-filter rootSmartFilterMetaSelect" data-lazy="true"
    data-filter-id="3F6D9E3C-A2D1-458A-A872303106F386B3">
    <a href="#" class="filter-button" data-testid="smartfilter-button">
        <i class="fa fa-file" data-testid="smart-filter-button-icon">
        </i>
        File type
        <i class="fa fa-caret-down">
        </i>
    </a>
    <div class="StyledDiv-sc-49emis-0 gSYowd filter-level-container filter category"
         id="toolbarMetaFilter" data-type="select" style="overflow-y: auto; scrollbar-width: none;background-color: white;">
        <div class="filter-level first" data-testid="smart-filter-column" style="height: fit-content;">
            <h2 class="StyledH2-sc-3v7i8j-0 cCnWXe">
                File Type
            </h2>
            <ul class="search-filters-holder" style="top: 60px;">

                <?foreach ($file_type_list as $file_type_name){?>
                    <li class="searchFilter">
                        <a href="asset_list.php?<? echo $url_parameter ?>&equal_file_type=<?echo $file_type_name?>">

                            <label>
                                        <span class="filter-name">
                                            <?echo $file_type_name?>
                                        </span>
                                <span class="searchCount" data-testid="search-count">
                                    <?
                                    $p['item']="nid";
                                    $p['table']=$table_prefix.'asset_data';
                                    $p['condition']="(status != '已删除' or status is null) and file_type  = '{$file_type_name}'";
                                    $_number=count_number($p)?>

                                    <?echo $_number?>
                                        </span>
                            </label>
                        </a>
                    </li>
                    <?;}?>

                <li style="margin-top: -2px; height: 5px;">
                </li>
            </ul>
            <div class="StyledDiv-sc-1fretga-0 hqaHzq scroll-down">
                <i class="fa fa-chevron-down">
                </i>
                Scroll down for more
            </div>
        </div>
    </div>
</li>